package com.experienceBaby.Cashbook.bean;

import com.experienceBaby.Cashbook.greendao.db.Recode;

import java.util.Date;
import java.util.List;

public class Daily {

    /**
     * 时间
     */
    private Date date;

    /**
     * 当天的总消费
     */
    private int cost;

    /**
     * 每天的支出/收入数据
     */
    private List<Recode> datas;


    public Daily() {
    }

    public Daily(Date date, int cost, List<Recode> datas) {
        this.date = date;
        this.cost = cost;
        this.datas = datas;
    }

    @Override
    public String toString() {
        return "Daily{" +
                "date=" + date +
                ", cost=" + cost +
                ", datas=" + datas +
                '}';
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public List<Recode> getDatas() {
        return datas;
    }

    public void setDatas(List<Recode> datas) {
        this.datas = datas;
    }
}
